.page {
  flex: 1 1 auto;

  .info {
    .ratio {
      position: relative;
      padding-top: 31.57%;

      .content {
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 100%;
        padding-left: 120px;
        background: url('~@/assets/pc/images/teachers/bg.png') no-repeat center / 100%;

        .avatar {
          min-width: 80px;
          max-width: 80px;
          min-height: 80px;
          max-height: 80px;
          margin-bottom: 24px;
          background-position: center;
          background-size: cover;
          border: 2px solid #fff;
          border-radius: 50%;
        }

        .name {
          margin-bottom: 4px;
          color: #fff;
          font-weight: 600;
          font-size: 50px;
          line-height: 70px;
          letter-spacing: 1px;
        }

        .des {
          color: #fff;
          font-size: 16px;
          line-height: 22px;
          opacity: 0.5;
        }

        .ex {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 116px;
          height: 36px;
          margin-top: 30px;
          color: #000;
          font-size: 12px;
          background: #fee500;
          border-radius: 21px;
          cursor: pointer;
          &:hover {
            background-color: #feed4e;
          }

          .mf {
            width: 19px;
            height: 17px;
            margin-right: 6px;
          }

          .go {
            width: 11px;
            height: 11px;
            margin-left: 2px;
          }
        }

        .nums {
          display: flex;
          margin-top: 29px;

          .item {
            min-width: 90px;
            margin-right: 12px;
            padding: 10px 16px;
            color: #fff;
            font-size: 12px;
            text-align: center;
            background: rgba(25, 44, 83, 0.4);
            border-radius: 18px;
          }
        }
        .media {
          .avatar {
            min-width: 55px;
            max-width: 55px;
            min-height: 55px;
            max-height: 55px;
            margin-bottom: 12px;
          }
          .name {
            font-size: 24px;
            line-height: 33px;
          }
        }
        @media screen and (max-width: 1300px) {
          .media();
        }
        @media screen and (min-width: 1440px) and (max-width: 1600px) {
          .media();
        }
      }
    }
  }
}

.section {
  margin-top: 20px;
  padding: 30px 20px;
  background: #192c53;
  border-radius: 20px;

  &:last-child {
    margin-bottom: 0;
  }

  .header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;

    .title {
      margin-bottom: 0;
      color: #fff;
      font-size: 20px;
      line-height: 28px;
    }

    .shuaxin {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 76px;
      height: 29px;
      color: #7688a5;
      font-size: 12px;
      background: #192c53;
      border: 1px solid #2b3e62;
      border-radius: 8px;
      cursor: pointer;

      .icon {
        width: 19px;
        height: 19px;
        margin-right: 4px;
      }

      &:hover {
        background: #2b3e62;
        border: 1px solid #2b3e62;
      }
    }
  }

  .body {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;

    .item {
      width: 20%;
      padding: 10px;
    }
  }
}

.teacher-detail {
  :global {
    .ant-popover-title {
      display: none;
    }

    .ant-popover-inner {
      width: 393px;
      height: 300px;
      padding: 29px;
      background: rgba(0, 0, 0, 0.2);
      border: none;
      border-radius: 8px;
      box-shadow: 0px 8px 36px 0px rgba(0, 0, 0, 0.17);
      backdrop-filter: blur(8px);
    }

    .ant-popover-inner-content {
      padding: 0;
    }

    .ant-popover-arrow-content {
      background-color: rgba(0, 0, 0, 0.2);
    }
  }

  .main {
    width: 100%;
    height: 245px;
    overflow-y: auto;
    color: #fff;
    font-size: 14px;
    line-height: 30px;
    white-space: pre-wrap;
  }
}
